package com.key.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author wen
 * @create 2023-02-23 19:08
 */
@ApiModel("查找退库单")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WithdrawalDTO {
    //当前页码数
    @ApiModelProperty(name = "currentPage",notes = "当前页码数",dataType = "int",required = true)
    private Integer currentPage;
    //每页显示记录数
    @ApiModelProperty(name = "pageSize",notes = "每页显示记录数",dataType = "int",required = true)
    private Integer pageSize;
    @ApiModelProperty(name = "state",notes = "办理状态 已审批，未审批",dataType = "String")
    private String state;
    @ApiModelProperty(name = "withdrawalNumber",notes = "退库单号",dataType = "String")
    private String withdrawalNumber;
    @ApiModelProperty(name = "withdrawalDate",notes = "退库日期",dataType = "String")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp withdrawalDate;
    @ApiModelProperty(name = "withdrawaler",notes = "退库人",dataType = "String")
    private String withdrawaler;
    @ApiModelProperty(name = "withdrawalRegion",notes = "退库后区域")
    private String withdrawalRegion;
    @ApiModelProperty(name = "withdrawalStoragePoint",notes = "退库后存放点")
    private String withdrawalStoragePoint;
    @ApiModelProperty(name = "businessCompany",notes = "业务所属公司")
    private String businessCompany;
    @ApiModelProperty(name = "withdrawalRemarks",notes = "退库备注",dataType = "String")
    private String withdrawalRemarks;
    @ApiModelProperty(name = "handlers",notes = "处理人",dataType = "String")
    private String handlers;

}
